module.exports = {
  pluginOptions: {
    electronBuilder: {
      nodeIntegration: true, // 启用fs
      // List native deps here if they don't work
      externals: ['my-native-dep'],
      // If you are using Yarn Workspaces, you may have multiple node_modules folders
      // List them all here so that VCP Electron Builder can find them
      nodeModulesPath: ['../../node_modules', './node_modules'],
      "build": {
        "appId": "com.xxx.app",
        "directories": {
          "output": "build" // 输出文件夹
        },

        "mac": {
          "target": ["dmg", "zip"]
        },
        "win": {
          "target": ["nsis", "zip"]
        },

      },
    }
  }
}